package xyz.wanhongtao.smtpclient.object.properties;


/**
 * @author wanghongtao <wanghongtao05@kuaishou.com>
 * Created on 2023-07-03
 */

public enum ResultEnum {
    SUCCESS(200, "success"),

    UN_LOGIN(401,"未登录"),
    ERROR(500,"error");

    private final Integer code;
    private final String message;

    ResultEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
